home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-06 / an009a.zip / AN009A.TXT < prev   
Text File  |  1991-01-10  |  16KB  |  349 lines

  1. TRACK [ON/OFF] Console Command, Syntax and Applications
  2.  
  3.  J. Warren Harding
  4.  Research Manager
  5.  Systems Engineering Division
  6.  
  7. Abstract:
  8.  
  9. The TRACK console command is an undocumented diagnostic tool that can be
  10. invoked on any file server running 286-based NetWare or NetWare 386 or
  11. router (formerly NetWare Bridge) console. Not only is it a very useful
  12. tool to investigate problems associated with workstations attempting to
  13. connect to a server, but TRACK gives you the ability to diagnose problems
  14. with routers and servers on the internetwork. It displays routing and
  15. server information that can be helpful in diagnosing and preventing
  16. network problems. This Appnote discusses the use, syntax and diagnostic
  17. applications of TRACK information.
  18.  
  19. Disclaimer
  20.  
  21. Novell, Inc. makes no representations or warranties with respect to the
  22. contents or use of these Application Notes, or any of the third-party
  23. products discussed in the AppNotes. Novell reserves the right to revise
  24. these Application Notes and to make changes in their contents at any
  25. time, without obligation to notify any person or entity of such revisions
  26. or changes. These AppNotes do not constitute an endorsement of the third-
  27. party product or products that were tested. The configuration or
  28. configurations tested or described may or may not be the only available
  29. solution. Any test is not a determination of product quality or
  30. correctness, nor does it ensure compliance with any federal, state or
  31. local requirements. Novell does not warranty products except as stated in
  32. applicable Novell product warranties or license agreements.
  33.  
  34. Copyright { 1990 by Novell, Inc., Provo, Utah. All rights reserved.
  35.  
  36. As a means of promoting NetWare Application Notes, Novell grants you
  37. without charge the right to reproduce, distribute and use copies of the
  38. AppNotes provided you do not receive any payment, commercial benefit or
  39. other consideration for the reproduction or distribution, or change any
  40. copyright notices appearing on or in the document.
  41.  
  42. Introduction
  43.  
  44. The use of the TRACK command provides three types of information: route
  45. information, server information and workstation connection requests.
  46. Although the TRACK command is available in both 286-based NetWare and
  47. NetWare 386 they differ only in how the information is displayed.
  48.  
  49. TRACK is invoked by typing TRACK ON at the file server or router
  50. console.The screen clears and the routing and server information is
  51. displayed as it is received. The function can be turned off by typing
  52. TRACK OFF at the console.
  53.  
  54. With NetWare 386, use of the ATL-ESC and CONTROL-ESC keys allow toggling
  55. between the TRACK screen and the current screen displayed. Also, you can
  56. stop scrolling of the TRACK screen by pressing any key. Pressing any key
  57. again will cause the TRACK screen to continue. 286-based NetWare does not
  58. support this toggle-pause function.
  59.  
  60. Fig. 1 illustrates a TRACK display for 286-based NetWare. The NetWare 386
  61. TRACK is displayed in Fig 2.
  62.  
  63. : 286-based NetWare TRACK screen
  64.  
  65. : 386-based TRACK screen
  66.  
  67. Route Information
  68.  
  69. In order for NetWare to send packets of information through an
  70. internetwork of workstations, file servers and routers, all of these
  71. devices must be informed of existing networks and how information can be
  72. routed to them. Knowledge about the layout of the network is communicated
  73. through the network using the Routing Information Protocol (RIP).
  74. Periodically, information is transmitted between the routers and servers
  75. to inform them of other networks that exist in the internetwork. These
  76. information broadcasts can be displayed using the TRACK function. For
  77. more information on RIP, see the AppNote entitled NetWare Communication
  78. Processes.
  79.  
  80. Route Information Syntax
  81.  
  82. Route information is displayed in the following format on 286-based
  83. Netware file servers and routers:
  84.  
  85. Direction [LAN:Node_Addr]  Net_Num Hops/Ticks  Net_Num Hops/Ticks ...
  86.  
  87. NetWare 386 displays route information in a slightly different format as
  88. shown below:
  89.  
  90. Direction [Net_Addr:Node_Addr]  Time  Net_Num Hops/Ticks  Net_Num
  91. Hops/Ticks ...
  92.  
  93. Direction specifies whether the information is being received from the
  94. network (IN) or whether the server or router transmitted information
  95. (OUT.)
  96.  
  97. LAN displays the server or router LAN card that received or transmitted
  98. information. LAN is displayed as the letter corresponding to the
  99. respective LAN board (A, B, C or D).
  100.  
  101. Net_Addr is the eight digit hexidecimal network number assigned to the
  102. LAN board that received or transmitted information. NetWare 386 displays
  103. the network number assigned to the LAN board rather than a LAN letter.
  104.  
  105. Node_Addr is the node address of the card (12 hex digits) in the server
  106. or router that received or transmitted information. In most OUT
  107. transmissions, the Node_Addr is FFFFFFFFFFFF. This indicates that the
  108. transmission has been broadcast to all nodes on the local network.
  109.  
  110. Time is displayed in hours, minutes and seconds that the whether
  111. information was received or transmitted. This information is only
  112. displayed on NetWare 386 file servers.
  113.  
  114. Net_Num is the unique eight digit hexadecimal number assigned to a
  115. specific network. With NetWare, each cabling system on the internet must
  116. be assigned a unique network number. These network numbers are broadcast
  117. by all routers (and file servers) to all other routers and file servers
  118. on the internetwork. In NetWare 386 servers, the information about the
  119. server's internal network number is included in route information
  120. broadcasts.
  121.  
  122. Hops is the number of routers (internal and external) that a packet would
  123. traverse to reach the network number named. In a NetWare internetwork, a
  124. maximum of 15 hops (or routers) may be traversed before the packet is
  125. discarded.
  126.  
  127. Ticks denotes the time (in 1/18th of a second increments) that a packet
  128. takes to reach the specified network if a packet were transmitted from
  129. the machine displaying the track-on. Typically this number is very low,
  130. but it can be as high as 999 for a very slow link. This number is used to
  131. differentiate between routes with extremely different transmission
  132. speeds. For all local area network protocols (such as Arcnet, Ethernet
  133. and Token-Ring) the number of ticks required is computed as one tick per
  134. hop. For asynchronous or X.25 routes, the number of ticks is computed
  135. based on the BAUD rate used. The formula is typically:
  136.  
  137. The number of ticks = 4 * Typical one-way transport time (in 1/18th
  138. second increments) + 10.
  139.  
  140. As a workstation logs into a specific resource, the estimated number of
  141. ticks to reach that resource is used by the shell to set the initial
  142. time-out for detecting error conditions when communicating with that
  143. resource. Route information held in each of the file servers and routers
  144. is aged by the systems. This information is purged after three minues if
  145. it has not been updated by route information from other routers and
  146. servers.
  147.  
  148. Multiple Routes
  149.  
  150. When two routes to a destination are known by a router, the router will
  151. send packets by the fastest route. The route is determined by the ticks
  152. value. If two routes exist with the same transport times, the packets
  153. will be sent out on the first network number in the file server or router
  154. table.
  155.  
  156. A workstation, however, does not switch to a faster route should one
  157. become available. Instead it relies on the route given by the first
  158. router that responds to a Get Target (get route to a destination)
  159. request. It continues to use that route as long as it is available.
  160.  
  161. In addition, workstations on the network can query a file server or a
  162. router with a Route Request. These also show up on the TRACK screen.
  163. Examples on 286-based NetWare are shown Fig. 3.
  164.  
  165. : 286 Workstation TRACK
  166.  
  167. On large internetworks, the messages can wrap around to several lines. In
  168. the first message in Fig. 3, information is received on LAN A (card node
  169. address 02608C247894) about two networks, numbers 00001EF0 and 00000001.
  170. They are respectively 1 and 3 hops, and 2 and 4 ticks away from the
  171. server or router where the message is displayed.
  172.  
  173. In the second message in Fig. 3, a broadcast is being sent out on LAN B
  174. with information about network numbers 00003333, 44444444, BABEBAAA, and
  175. 12E00000. NetWare 386 displays these with slight differences as shown in
  176. Fig. 4.
  177.  
  178. : 386 Workstation TRACK
  179.  
  180. Server Information
  181.  
  182. Servers in a NetWare internetwork are tracked in a manner similar to
  183. routers and workstations. Information about each server in the
  184. internetwork is transmitted through the network using the Server
  185. Advertising Protocol (SAP). Each file server and bridge maintains tables
  186. of the available servers. The tables are used to route packets to them
  187. and to respond to workstation inquiries regarding the services that are
  188. available in the internetwork.
  189.  
  190. Server Routing Syntax
  191.  
  192. As with the RIP, information is periodically (once per minutes)
  193. transmitted between the routers and servers to inform them of other
  194. servers that exist in the internetwork. These information broadcasts can
  195. be displayed using the TRACK function. For more information on SAP, see
  196. the NetWare Application Note entitled NetWare Communication Processes.
  197.  
  198. Server information is displayed in the following format on 286-based
  199. NetWare file servers and routers:
  200.  
  201. Direction [LAN:Node_Addr]   Server_Name   Hops   Server_Name   Hops ...
  202.  
  203. NetWare 386 displays server information as follows:
  204.  
  205. Direction [Net_Addr:Node_Addr] Time Server_Name Hops Server_Name Hops ...
  206.  
  207. For complete definitions refer to Routing Information Syntax.
  208.  
  209. Server_Name is the name of a server on the internetwork for which
  210. information is being propagated. This may include the name of the server
  211. or router (if a LAN to LAN router) that is currently displaying the
  212. TRACK. The server names displayed include the names of all devices or
  213. processes on the internetwork that advertise their services using the
  214. Service Advertising Protocol (SAP). All File Servers and LAN to LAN
  215. routers will be shown. In addition, any VAPs or value-added servers (such
  216. as database servers, job servers or print servers) that advertise their
  217. services using the SAP protocol will also be displayed by TRACK. Examples
  218. are shown in Fig. 5.
  219.  
  220. : Server TRACK
  221.  
  222. On large internetworks these messages can wrap around to several lines.
  223. In the first example, information is being received on LAN A (card node
  224. address 02608C247894) regarding three fileservers named FILESERVER1,
  225. FILESERVER2 and FILESERVER3. They are respectively 3, 4 and 1 hop away
  226. from the server or router where this message is  displayed.
  227.  
  228. In the second example, a broadcast is being sent out on LAN B with
  229. information about server SERVERA (which is itself) and server SERVERB.
  230. NetWare 386 displays this information with slight differences as shown in
  231. Fig. 6.
  232.  
  233. : A 386 Server TRACK
  234.  
  235. Get/Give Connection Request
  236.  
  237. The third type of information that TRACK displays is the get/give
  238. connection requests. These will only be displayed on a file server
  239. console and not on router consoles.
  240.  
  241. As a workstation boots and loads the NetWare shell, a Get Nearest Server
  242. request is broadcast on the network. All connected file servers will
  243. receive the message and respond back to the workstation with a Give
  244. Nearest Server response. This provides the workstation with a file server
  245. connection. The workstation will initially attach to the first file
  246. server that responds.
  247.  
  248. The file server TRACK function will display the Get Nearest Server and
  249. Give Nearest Server requests and responses as the file server receives
  250. and responds to them. 286-based NetWare displays these functions in the
  251. following format.
  252.  
  253.  Direction [LAN:Node_Addr]   Get Nearest Server
  254.  Direction [LAN:Node_Addr]   Give Nearest Server Server_Name
  255.  
  256. Server_Name is the name of the server that has offered a connection to
  257. the workstation. Fig. 7 shows an example of a 286-based TRACK display.
  258.  
  259. : 286-based Server Information
  260.  
  261. The first line is the request for a server connection from the
  262. workstation. The second line is the server named SERVER3 offering the
  263. workstation a connection. NetWare 386 displays these lines with slight
  264. differences as shown in Fig. 8.
  265.  
  266.  Direction [LAN:Node_Addr] Time         Get Nearest Server
  267.  Direction [Net_Addr::Node_Addr]  Time  Give Nearest Server Server_Name
  268.  
  269. : 386-based Server
  270.  
  271. Using TRACK for Diagnostic Purposes
  272.  
  273. TRACK is useful for diagnosing problems with the network. It can help to
  274. narrow the field when a problem occurs. The applications that follow
  275. identify two problems that might occur on a NetWare network, and ways to
  276. use TRACK to diagnose the cause.
  277.  
  278. Application 1: File Server Could Not Be Found
  279.  
  280. Symptoms. The workstation loads the shell and hangs or gets the error A
  281. file server could not be found.
  282.  
  283. Indication. This indicates that there's a problem with the workstation's
  284. ability to communicate with the file server.
  285.  
  286. Solution. Before loading the shell on the workstation, activate TRACK on
  287. the file servers and routers involved. As the shell loads on the
  288. workstation, information similar to that shown in Fig. 9 should be
  289. displayed on one of the servers or routers (for 286-based NetWare).
  290.  
  291. : Loading Shell (286-based NetWare)
  292.  
  293. For 386 versions of NetWare it will appear as shown in Fig. 10.
  294.  
  295. : Loading Shell (NetWare 386)
  296.  
  297. If the file server or router displays all of this information it
  298. indicates that the workstation was able to send requests to the file
  299. server (Get Nearest Server), and the file server was able to answer (Give
  300. Nearest Server). Because the Route Request was transmitted by the
  301. workstation the first response by the server (Give Nearest Server) was
  302. received and understood by the workstation. This sequence of TRACK
  303. messages will be displayed if a workstation successfully loads the shell
  304. and begins to work with a file server.
  305.  
  306. If none of the above lines of information are displayed on any file
  307. servers or routers on the network as a workstation loads the shell, the
  308. workstation could not successfully send a Get Nearest Server request to
  309. the file server. This could indicate a bad cable system, a bad hub or
  310. concentrator, or an improper connection or termination. It could also be
  311. caused by an improperly configured network adapter or adapter driver.
  312.  
  313. If only the first line (Get Nearest Server) is displayed as a workstation
  314. attempts to load the shell, the workstation is able to send the request
  315. properly and the file server is able to receive it. However, the file
  316. server is not able to send the response back. This might indicate a
  317. transmission problem in the file server. For example, it might have a
  318. faulty or improperly configured network adapter or adapter driver. The
  319. file server might not have too few file service processes. The cable
  320. system is probably not at fault since the original request was
  321. transmitted without problems.
  322.  
  323. If the first two lines are displayed (Get and Give Nearest Server) but
  324. the workstation fails to complete the shell load, the workstation sends
  325. OK and the file server receives OK. But if the file server is not sending
  326. properly (and it doesn't know it) or the workstation is not receiving
  327. properly, a bad or improperly configured workstation, or file server
  328. network adapter or adapter driver may be causing the problem.
  329.  
  330. Application 2: Unknown File Server
  331.  
  332. Symptoms. A file server is running but cannot be seen when a workstation
  333. initiates the  SLIST command from another server. The error message
  334. "Unknown file server" is displayed when a user attempts to log in to the
  335. server.
  336.  
  337. Indication. A similar situation occurs when a file server is not
  338. receiving information on other servers or networks in the internet.
  339.  
  340. Solution. Activate TRACK on all the file servers and printers involved.
  341. Check for information being sent and received by respective servers.
  342. Having improper network numbers configured on a server or router can also
  343. cause this failure. This special case can be identified because errors
  344. such as "WARNING!!! MULTIPLE ROUTER WITH SAME INTERNET ADDRESS!" or
  345. "ROUTER CONFIGURATION ERROR!!! Router xxxxxxxxxxxx claims LAN A is
  346. yyyyyy!" will appear on all of the file servers and routers on the
  347. network.
  348.  
  349.